package com.purchase.mapper;

import com.purchase.entity.Apply;
import com.purchase.entity.Banner;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

@MyBatisRepository
public interface ApplyMapper extends Mapper<Apply> {

    int insertOne(Map<String, Object> paramMap);

    List<Apply> selectList(Map<String, Object> paramMap);

    int updateById(Map<String, Object> paramMap);

    Apply selectById(@Param("id") Integer id);

    Apply selectByCardId(Map<String, Object> paramMap);
}
